﻿using UnityEngine;
using UnityEngine.UI;

public class Button_StartLevel : CButton
{
    public int levelIndex;

    protected override void OnClick()
    {
         Service. Get<GameManager>().StartGame(levelIndex);
         gameObject.SetActive(false);
    }
}
